package org.projectname.web.admin.login;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping(LoginController.PATH)
public class LoginController {

	public final static String PATH = "/admin/login";
	public final static String RELOAD = "redirect:" + PATH;
	
	@RequestMapping
	public String login(){
		return PATH;
	}
	
	@RequestMapping("/failure")
	public String failure(){
		return PATH + "/failure";
	}

	@RequestMapping("/relogin")
	public String relogin(){
		return PATH + "/relogin";
	}
}
